package com.erp.order.domain.bo;

import com.ruoyi.common.core.web.oldDomain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 截单申请记录业务对象 erp_cut_order_record
 *
 * @author erp
 * @date 2023-04-07
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class ErpCutOrderRecordBo extends BaseEntity {

    /**
     * 主键
     */
    private Long id;

    /**
     * 订单号
     */
    private String orderId;

    /**
     * 子订单号
     */
    private String childOrderId;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 申请前订单状态
     */
    private String beforeApplication;

    /**
     * 截单原因类型;AP(地址问题); RO(重复下单); OS(商品缺货); BC(买家取消); CF(计费失败); OT(其它原因)
     */
    private String cancelType;

    /**
     * 备注;选择OT(其它原因)，支持传入参数cancel_remark
     */
    private String cancelRemark;

    /**
     * 是否仓储;0(仓储成功);1(仓储失败)
     */
    private String isWarehousing;

    /**
     * 乐观锁
     */
    private String revision;


}
